﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace INSTA.BankSystem.BLL
{
    public class OverdrawnEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="OverdrawnEventArgs"/> class.
        /// </summary>
        /// <param name="authorizedOverdrawn">The authorized overdrawn.</param>
        /// <param name="actualBalance">The actual balance.</param>
        public OverdrawnEventArgs(double authorizedOverdrawn, double actualBalance)
        {
            AuthorizedOverdrawn = authorizedOverdrawn;
            ActualBalance       = actualBalance;
        }


        /// <summary>
        /// Gets or sets the authorized overdrawn.
        /// </summary>
        public double AuthorizedOverdrawn{ get; set; }

        /// <summary>
        /// Gets the actual balance.
        /// </summary>
        public double ActualBalance { get; private set; }

    }
}
